package com.zcdom.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zcdom.system.entity.Menu;
import com.zcdom.system.mapper.MenuMapper;
import com.zcdom.system.service.IMenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MenuServiceImpl extends ServiceImpl<MenuMapper, Menu> implements IMenuService {

    @Autowired
    private MenuMapper menuMapper;

    @Override
    public Menu getMenuById(Long id) {
        return menuMapper.selectById(id);
    }
}
